<div class="h8"></div>
<?php if($session['type_pg']==PERSON_TYPE && ($session['type_p_vasn']==PERSON_VIP_TYPE || $session['type_p_vasn']==PERSON_ADVANCE_TYPE)):?>

<?php
$this->renderPartial('mform',array(
    'title'=>'基本信息',
    'items'=>array(
        array(
            'type'=>'text',
            'require'=>true,
            'label'=>'姓 名',
            'msg'=>'(国家公安机关核准授予的身份证上的姓名名称,一经填写，不可更改)',
            'key'=>'nickname',
            'class'=>'text120',
            'open'=>false,
        ) ,
        array(
            'type'=>'password',
            'require'=>true,
            'label'=>'设置密码',
            'key'=>'password',
            'class'=>'text120',
            'open'=>false,
            'msg'=>'(6-16位字符，可由英文、数字和标点符号组成)'
        ),
        array(
            'type'=>'password',
            'require'=>true,
            'label'=>'重复密码',
            'key'=>'repassword',
            'class'=>'text120',
            'open'=>false,
            'msg'=>'(请再次输入准备设置的密码)',
        ),
        array(
            'type'=>'text',
            'require'=>true,
            'label'=>'身份证号码',
            'key'=>'idcard',
            'class'=>'text',
            'open'=>false,
            'msg'=>'(国家公安机关核准授予的身份证上的ID)',
        ),
        array(
            'type'=>'radio',
            'require'=>true,
            'label'=>'性别',
            'key'=>'sex',
            'class'=>'',
            'range'=>array('男', '女'),
            'open'=>true,
            'msg'=>'(一经填写，不可更改)',
        ),
        array(
            'type'=>'concate',
            'require'=>true,
            'label'=>'出生日期',
            'key'=>'birthday',
            'class'=>'text120',
            'open'=>true,
            'msg'=>'(一经填写，不可更改)',
        ),
        array(
            'type'=>'text',
            'require'=>true,
            'label'=>'籍 贯',
            'key'=>'place',
            'class'=>'text120',
            'open'=>true,
            'msg'=>'(一经填写，不可更改)',
        ),
        array(
            'type'=>'text',
            'require'=>true,
            'label'=>'民 族',
            'key'=>'nation',
            'class'=>'text120',
            'open'=>true,
            'msg'=>'(一经填写，不可更改)',
        ),
        array(
            'type'=>'radio',
            'require'=>true,
            'label'=>'婚姻状况',
            'key'=>'marry',
            'class'=>'',
            'range'=>array('已婚', '未婚', '其他'),
            'open'=>true,
            'msg'=>'',
        ),
        array(
            'type'=>'text',
            'require'=>false,
            'label'=>'家庭地址',
            'key'=>'address',
            'class'=>'text',
            'open'=>true,
            'msg'=>'',
        ),

        array(
            'type'=>'text',
            'require'=>true,
            'label'=>'通信地址',
            'key'=>'contact',
            'class'=>'text',
            'open'=>true,
            'msg'=>'',
        ),
        array(
            'type'=>'text',
            'require'=>true,
            'label'=>'邮政编码',
            'key'=>'post',
            'class'=>'text120',
            'open'=>true,
            'msg'=>'',
        ),
        array(
            'type'=>'text',
            'require'=>true,
            'label'=>'电子邮箱',
            'key'=>'email',
            'class'=>'text',
            'open'=>true,
            'msg'=>'',
        ),
        array(
            'type'=>'text',
            'require'=>true,
            'label'=>'联系电话',
            'key'=>'phone',
            'class'=>'text120',
            'open'=>true,
            'msg'=>'',
        ),
        array(
            'type'=>'text',
            'require'=>true,
            'label'=>'Q Q',
            'key'=>'im',
            'class'=>'text120',
            'open'=>true,
            'msg'=>'',
        ),

        array(
            'type'=>'radio',
            'require'=>true,
            'label'=>'政治面貌',
            'key'=>'politics',
            'class'=>'',
            'range'=>array('中共党员', '共青团员', '其它'),
            'open'=>true,
            'msg'=>'',
        ),

        array(
            'type'=>'text',
            'require'=>false,
            'label'=>'职 称',
            'key'=>'jobtitle',
            'class'=>'text120',
            'open'=>true,
            'msg'=>'',
        ),
        array(
            'type'=>'text',
            'require'=>false,
            'label'=>'职 务',
            'key'=>'job',
            'class'=>'text120',
            'open'=>true,
            'msg'=>'',
        ),
        array(
            'type'=>'text',
            'require'=>false,
            'label'=>'博客地址',
            'key'=>'blog',
            'class'=>'text',
            'open'=>true,
            'msg'=>'',
        ),
        array(
            'type'=>'file',
            'require'=>true,
            'label'=>'个人照片',
            'key'=>'pphoto',
            'class'=>'text',
            'open'=>false,
            'msg'=>'(上传文件不超过1M)',
        ),

    )
));


?>
<script type="text/javascript">
    function pphoto_new(){
        $("#pphoto_new").html(
            '<input name="pphoto" type="file" class="file2" /><span>(上传文件不超过1M)</span>'
        );
    }
</script>
<?php elseif($session['type_pg']==PERSON_TYPE && ($session['type_p_vasn']==PERSON_NORMAL_TYPE || $session['type_p_vasn']==PERSON_STUDENT_TYPE)): ?>

<!-- 通栏-->
  <div class="detailContent-title"><span class="local">当前位置：首页&nbsp;>&nbsp;个人会员注册>&nbsp;<?php echo $session['type_p_vasn']==PERSON_STUDENT_TYPE ? '晋学会员':'普善会员';?></span></div>
  <div class="tonglan memberrg black">
      <div class="form">
          <?php $form=$this->beginWidget('CActiveForm', array(
          'id'=>'profiles-form',
          'enableAjaxValidation'=>false,
          'htmlOptions'=>array('enctype'=>'multipart/form-data')
      )); ?>

    <div class="memberrgdetail">
      <table width="" border="0" align="center" cellpadding="8" cellspacing="0" class="table">
        <tr>
          <td height="64" colspan="4" align="center"><span class="jbxx">基本信息</span></td>
        </tr>
        <tr>
          <td colspan="4"><div class="tis"> ★ 带有&quot;<span class="f00">*</span>&quot;的项目必须填写,并确保您在基本信息中输入的Email地址有效。<br />
              ★ 如果愿意公开的信息可以在□ 打勾'√'（公开是指对其他注册会员公开，而非注册会员无法浏览。） </div></td>
        </tr>
          <tr>
              <td colspan="4" align="right">
                  <p class="note" style="font-size: 20px;color: #ff0000;float: left;margin-left: 300px;">
                      <?php if(is_array($session['error']) && !empty($session['error'][0])) echo $session['error'][0];?>
                  </p>
              </td>
          </tr>
        <tr>
          <td width="158" align="right"><span class="f00">*</span>姓&nbsp;名：</td>
          <td width="680"><label for="textfield"></label>
              <input type="text" name="nickname" id="nickname" class="text120" value="<?php echo isset($session['nickname']) ? $session['nickname']: '';?>" />
          <span> (国家公安机关核准授予的身份证上的姓名名称,一经填写,不可更改)</span></td>
            <td width="80">&nbsp;</td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>设置密码：</td>
          <td colspan="1">
              <input type="password" name="password" id="password" class="text120" value="<?php echo isset($session['password']) ? $session['password']: '';?>" />
          <span> (6-16位字符，可由英文、数字和标点符号组成)</span></td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>重复密码：</td>
          <td colspan="1">
              <input type="password" name="repassword" id="repassword" class="text120" value="<?php echo isset($session['password']) ? $session['password']: '';?>" />
          <span>(请再次输入准备设置的密码)</span></td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>身份证号码：</td>
          <td colspan="2">
              <input type="text" name="idcard" id="idcard" class="text" value="<?php echo isset($session['idcard']) ? $session['idcard']: '';?>" />
              <span> (国家公安机关核准授予的身份证上的ID)</span>
          </td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>性&nbsp;别：</td>
          <td>
              <input id="s1" name="sex" type="radio" class="radio" <?php echo $session['sex']==1 ? 'checked="checked"':''; ?> value="1" />
            <label for="s1" style="margin-left: -10px;">男</label>
              <input id="s2" name="sex" type="radio" class="radio" <?php echo $session['sex']==2 ? 'checked="checked"':''; ?> value="2" />
              <label for="s2" style="margin-left: -10px;">女</label>
          <span> (一经填写，不可更改)</span></td>
          <td><label>
              <input name="sex_open" type="checkbox" id="sex_open" value="1" <?php if($session['sex_open']==1) echo 'checked="checked"';?> />
              公开</label></td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>出生日期：</td>
          <td>
              <?php $this->renderPartial('ymd',array('year'=>$session['year'], 'month'=>$session['month'], 'day'=>$session['day'], 'ystart'=>1930)); ?>
          <span>(一经填写，不可更改)</span></td>
          <td><label>
              <input name="birthday_open" type="checkbox" id="birthday_open" value="1" <?php if($session['birthday_open']==1) echo 'checked="checked"';?> />
              公开</label></td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>籍&nbsp;贯：</td>
          <td>
              <input type="text" name="place" id="place" class="text120" value="<?php echo isset($session['place']) ? $session['place']: '';?>" />
          <span> (一经填写，不可更改)</span></td>
          <td><label>
              <input name="place_open" type="checkbox" id="place_open" value="1" <?php if($session['place_open']==1) echo 'checked="checked"';?> />
              公开</label></td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>民&nbsp;族：</td>
          <td>
              <input type="text" name="nation" id="nation" class="text120" value="<?php echo isset($session['nation']) ? $session['nation']: '';?>" />
          <span> (一经填写，不可更改)</span></td>
          <td><label>
              <input name="nation_open" type="checkbox" id="nation_open" value="1" <?php if($session['nation_open']==1) echo 'checked="checked"';?> />
              公开</label></td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>婚姻状况：</td>
          <td colspan="1">
            <input name="marry" type="radio" id="m1" class="radio" value="1" <?php echo $session['marry']==1 ? 'checked="checked"':''; ?> />
            <label for="m1" style="margin-left: -10px;">已婚</label>
            <input name="marry" type="radio" id="m2" class="radio" value="2" <?php echo $session['marry']==2 ? 'checked="checked"':''; ?> />
            <label for="m2" style="margin-left: -10px;">未婚</label>
            <input name="marry" type="radio" id="m3" class="radio" value="3" <?php echo $session['marry']==3 ? 'checked="checked"':''; ?> />
            <label for="m3" style="margin-left: -10px;">其它</label>
          </td>
          <td><label>
              <input name="marry_open" type="checkbox" id="marry_open" value="1" <?php if($session['marry_open']==1) echo 'checked="checked"';?> />
              公开</label></td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>通信地址：</td>
          <td colspan="1">
              <input type="text" name="contact" id="contact" class="text" value="<?php echo isset($session['contact']) ? $session['contact']: '';?>" />
          </td>
          <td><label>
              <input name="contact_open" type="checkbox" id="contact_open" value="1" <?php if($session['contact_open']==1) echo 'checked="checked"';?> />
              公开</label></td>
        </tr>
        <tr>
          <td align="right">家庭地址：</td>
          <td colspan="1">
              <input type="text" name="address" id="address" class="text" value="<?php echo isset($session['address']) ? $session['address']: '';?>" />
          </td>
          <td><label>
              <input name="address_open" type="checkbox" id="address_open" value="1" <?php if($session['address_open']==1) echo 'checked="checked"';?> />
              公开</label></td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>邮政编码：</td>
          <td colspan="1">
              <input type="text" name="post" id="post" class="text120" value="<?php echo isset($session['post']) ? $session['post']: '';?>" />
          </td>
          <td><label>
              <input name="post_open" type="checkbox" id="post_open" value="1" <?php if($session['post_open']==1) echo 'checked="checked"';?> />
              公开</label></td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>电子邮箱：</td>
          <td colspan="1">
              <input type="text" name="email" id="email" class="text" value="<?php echo isset($session['email']) ? $session['email']: '';?>" />
          <span width="171">(请输入常用有效的电子邮箱地址，将用来找回密码或接受学会的信息)</span></td>
          <td><label>
              <input name="email_open" type="checkbox" id="email_open" value="1" <?php if($session['email_open']==1) echo 'checked="checked"';?> />
              公开</label></td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>联系电话：</td>
          <td colspan="1">
              <input type="text" name="phone" id="phone" class="text120" value="<?php echo isset($session['phone']) ? $session['phone']: '';?>" />
          </td>
          <td><label>
              <input name="phone_open" type="checkbox" id="phone_open" value="1" <?php if($session['phone_open']==1) echo 'checked="checked"';?> />
              公开</label></td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>Q&nbsp;Q：</td>
          <td colspan="1">
              <input type="text" name="im" id="im" class="text120" value="<?php echo isset($session['im']) ? $session['im']: '';?>" />
          </td>
          <td><label>
              <input name="im_open" type="checkbox" id="im_open" value="1" <?php if($session['im_open']==1) echo 'checked="checked"';?> />
              公开</label></td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>政治面貌：</td>
          <td colspan="1">
              <input id="p1" name="politics" type="radio" class="radio" <?php echo $session['politics']==1 ? 'checked="checked"':''; ?> value="1" />
              <label for="p1" style="margin-left: -10px;">中共党员</label>

              <input id="p2" name="politics" type="radio" class="radio" <?php echo $session['politics']==2 ? 'checked="checked"':''; ?> value="2" />
              <label for="p2" style="margin-left: -10px;">共青团员</label>

              <input id="p3" name="politics" type="radio" class="radio" <?php echo $session['politics']==3 ? 'checked="checked"':''; ?> value="3" />
              <label for="p3" style="margin-left: -10px;">其它</label></td>
          <td><label>
              <input name="politics_open" type="checkbox" id="politics_open" value="1" <?php if($session['politics_open']==1) echo 'checked="checked"';?> />
              公开</label></td>
        </tr>
        <tr>
          <td align="right"><span class="f00">*</span>个人照片：</td>
            <td colspan="3" id="pphoto_new">
                <?php if(!empty($session['pphoto'])):
                    echo CHtml::image($session['pphoto'],'组织机构形象照',array('style'=>'max-width:400px;'));
                    echo CHtml::button('重新选择',array('onClick'=>'pphoto_new();'));
                else:?>
                    <input name="pphoto" type="file" class="file2" />
                    <span>(上传文件不超过1M)</span>
                <?php endif;?>
            </td>
        </tr>
      </table>
      <div id="but" class="cen paddingbotton80 paddingtop50">
          <span><?php echo CHtml::submitButton('',array('id'=>'topstep','style'=>'border: 0 none;font-size:0;','name'=>'setup','value'=>2)); ?></span>
          <span><?php echo CHtml::submitButton('',array('id'=>'nextstep','style'=>'border: 0 none;font-size:0;','name'=>'setup','value'=>4)); ?></span>
      </div>
      <div class="clear"></div>
    </div>

          <?php $this->endWidget(); ?>
      </div><!-- form -->
    <div class="clear"></div>
  </div>
<script type="text/javascript">
    function pphoto_new(){
        $("#pphoto_new").html(
            '<input name="pphoto" type="file" class="file2" /><span>(上传文件不超过1M)</span>'
        );
    }
</script>
  <?php elseif($session['type_pg']==GROUP_TYPE && in_array($session['type_g_pebg'],array(GROUP_PUBLIC_TYPE,GROUP_EDUCATION_TYPE,GROUP_BUSINESS_TYPE,GROUP_GROUP_TYPE))): ?>
<script type="text/javascript">
    function c_id_photo_new(){
        $("#c_id_photo_new").html(
            '<input name="c_id_photo" type="file" class="file" id="textfield16" /><span class="ccc">(上传文件不超过1M)</span>'
        );
    }
    function c_introduce_photo_new(){
        $("#c_introduce_photo_new").html(
            '<input name="c_introduce_photo" type="file" class="file" id="textfield15" /><span class="ccc">(上传文件不超过1M)</span>'
        );
    }
</script>
<!-- 通栏-->
<div class="detailContent-title"><span class="local">当前位置：首页&nbsp;>会员注册 &gt;&nbsp;<?php
    if($session['type_g_pebg']==GROUP_PUBLIC_TYPE) echo '公共机构';
    elseif($session['type_g_pebg']==GROUP_EDUCATION_TYPE) echo '学校教育';
    elseif($session['type_g_pebg']==GROUP_BUSINESS_TYPE) echo '公司企业';
    elseif($session['type_g_pebg']==GROUP_GROUP_TYPE) echo '其他团体';
    ?></span></div>
<div class="tonglan memberrg black">
    <div class="memberrgdetail">
        <div class="form">
            <?php $form=$this->beginWidget('CActiveForm', array(
            'id'=>'profiles-form',
            'enableAjaxValidation'=>false,
            'htmlOptions'=>array('enctype'=>'multipart/form-data')
        )); ?>

        <table width="" border="0" align="center" cellpadding="8" cellspacing="0" class="table">
            <tr>
                <td colspan="4" align="right">
                    <div class="tis">
                        ★ 带有&quot;<span class="f00">*</span>&quot;的项目必须填写,并确保您在基本信息中输入的Email地址有效。<br />
                        ★ 如果愿意公开的信息可以在□ 打勾'√'（公开是指对其他注册会员公开，而非注册会员无法浏览。）
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="4" align="right">
                    <p class="note" style="font-size: 20px;color: #ff0000;float: left;margin-left: 300px;">
                        <?php if(is_array($session['error']) && !empty($session['error'][0])) echo $session['error'][0];?>
                    </p>
                </td>
            </tr>
            <tr>
                <td width="160" align="right"><span class="f00">*</span>法定单位名称：</td>
                <td width="655">
                    <input type="text" name="nickname" id="textfield" class="text" value="<?php echo isset($session['nickname']) ? $session['nickname']: '';?>" />
                <span> (组织机构代码证上核定的名字全称,一经填写,不可更改)</span></td>
                <td width="55">&nbsp;</td>
            </tr>
            <tr>
                <td align="right"><span class="f00">*</span>设置密码：</td>
                <td colspan="1"><input name="password" type="password" class="text120" id="textfield2" />
                    <span> (6-16位字符，可由英文、数字和标点符号组成)</span></td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td align="right"><span class="f00">*</span>重复密码：</td>
                <td colspan="1"><input name="repassword" type="password" class="text120" id="textfield3" />
                    <span> (请再次输入准备设置的密码)</span></td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td align="right"><span class="f00">*</span>组织机构代码：</td>
                <td><input name="idcard" type="text" class="text120" id="textfield4" value="<?php echo isset($session['idcard']) ? $session['idcard']: '';?>" />
                    <span> (组织机构代码证上所承载的代码号,一经填写，不可更改)</span></td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td align="right"><span class="f00">*</span>法人代表：</td>
                <td colspan="1"><input name="c_legal_person" type="text" class="text120" id="textfield4" value="<?php echo isset($session['c_legal_person']) ? $session['c_legal_person']: '';?>" /></td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td align="right"><span class="f00">*</span>单位成立时间：</td>
                <td>
                 <?php $this->renderPartial('ymd',array('year'=>$session['year'], 'month'=>$session['month'], 'day'=>$session['day'])); ?>
                <span>(一经填写，不可更改)</span></td>
                <td><label for="birthday_open"><input name="birthday_open" <?php if($session['birthday_open']) echo 'checked="checked"'?> type="checkbox" id="birthday_open" value="1" />
                    公开</label></td>
            </tr>
            <tr>
                <td align="right"><span class="f00">*</span>通信地址：</td>
                <td colspan="1"><input name="contact" type="text" class="text" id="textfield8" value="<?php echo isset($session['contact']) ? $session['contact']: '';?>" /></td>
                <td><label for="contact_open"><input name="contact_open" <?php if($session['contact_open']) echo 'checked="checked"'?> type="checkbox" id="contact_open" value="1" />
                    公开</label></td>
            </tr>
            <tr>
                <td align="right"><span class="f00">*</span>邮政编码：</td>
                <td colspan="1"><input name="post" type="text" class="text120" id="textfield9" value="<?php echo isset($session['post']) ? $session['post']: '';?>" /></td>
                <td><label for="post_open"><input name="post_open" <?php if($session['post_open']) echo 'checked="checked"'?> type="checkbox" id="post_open" value="1" />
                    公开</label></td>
            </tr>
            <tr>
                <td align="right"><span class="f00">*</span>电子邮箱：</td>
                <td colspan="1"><input name="email" type="text" class="text" id="textfield10" value="<?php echo isset($session['email']) ? $session['email']: '';?>" />
                    <span>(请输入常用有效的电子邮箱地址，将用来找回密码或接受学会的信息)</span></td>
                <td><label for="email_open"><input name="email_open" <?php if($session['email_open']) echo 'checked="checked"'?> type="checkbox" id="email_open" value="1" />
                    公开</label></td>
            </tr>
            <tr>
                <td align="right"><span class="f00">*</span>联系电话：</td>
                <td colspan="1"><input name="phone" type="text" class="text120" id="textfield11" value="<?php echo isset($session['phone']) ? $session['phone']: '';?>" /></td>
                <td><label for="phone_open"><input name="phone_open" <?php if($session['phone_open']) echo 'checked="checked"'?> type="checkbox" id="phone_open" value="1" />
                    公开</label></td>
            </tr>
            <tr>
                <td align="right"><span class="f00">*</span>单位网址：</td>
                <td colspan="1"><input name="blog" type="text" class="text" id="textfield12" value="<?php echo isset($session['blog']) ? $session['blog']: '';?>" /></td>
                <td><label for="blog_open"><input name="blog_open" <?php if($session['blog_open']) echo 'checked="checked"'?> type="checkbox" id="blog_open" value="1" />
                    公开</label></td>
            </tr>
            <tr>
                <td align="right"><span class="f00">*</span>行政(人事)负责人：</td>
                <td colspan="1"><input name="c_hr_manager" type="text" class="text" id="textfield14" value="<?php echo isset($session['c_hr_manager']) ? $session['c_hr_manager']: '';?>" /></td>
                <td><label for="c_hr_manager_open"><input name="c_hr_manager_open" <?php if($session['c_hr_manager_open']) echo 'checked="checked"'?> type="checkbox" id="c_hr_manager_open" value="1" />
                    公开</label></td>
            </tr>
            <tr>
                <td align="right"><span class="f00">*</span>联络人及移动电话：</td>
                <td colspan="1"><input name="c_contacter_tel" type="text" class="text" id="textfield13" value="<?php echo isset($session['c_contacter_tel']) ? $session['c_contacter_tel']: '';?>" /></td>
                <td><input name="c_contacter_tel_open" <?php if($session['c_contacter_tel_open']) echo 'checked="checked"'?> type="checkbox" id="c_contacter_tel_open" value="1" />
                    公开</td>
            </tr>
            <tr>
                <td align="right"><span class="f00">*</span>联络QQ：</td>
                <td colspan="1"><input name="im" type="text" class="text" id="textfield15" value="<?php echo isset($session['im']) ? $session['im']: '';?>" /></td>
                <td><input name="im_open" <?php if($session['im_open']) echo 'checked="checked"'?> type="checkbox" id="im_open" value="1" />
                    公开</td>
            </tr>

            <tr>
                <td align="right"><span class="f00">*</span>单位对外电子邮箱：</td>
                <td colspan="1"><input name="c_email" type="text" class="text" id="textfield15" value="<?php echo isset($session['c_email']) ? $session['c_email']: '';?>" /></td>
                <td><input name="c_email_open" <?php if($session['c_email_open']) echo 'checked="checked"'?> type="checkbox" id="c_email_open" value="1" />
                    公开</td>
            </tr>
            <tr>
                <td align="right">组织机构形象照：</td>
                <td colspan="2" id="c_introduce_photo_new">
                    <?php
                    if(!empty($session['c_introduce_photo'])):
                        echo CHtml::image($session['c_introduce_photo'],'组织机构形象照',array('style'=>'max-width:400px;'));
                        echo CHtml::button('重新选择',array('onClick'=>'c_introduce_photo_new();'));
                    else:
                    ?>
                    <input name="c_introduce_photo" type="file" class="file" id="textfield15" />
                    <span class="ccc">(上传文件不超过1M)</span>   </td>
                    <?php endif;?>
                </td>
            </tr>
            <tr>
                <td align="right"><span class="f00">*</span>组织机构代码证件照：</td>
                <td colspan="2" id="c_id_photo_new">
                    <?php if(!empty($session['c_id_photo'])):
                        echo CHtml::image($session['c_id_photo'],'组织机构代码证件照',array('style'=>'max-width:400px;'));
                        echo CHtml::button('重新选择',array('onClick'=>'c_id_photo_new();'));
                    else:?>
                    <input name="c_id_photo" type="file" class="file" id="textfield16" />
                    <span class="ccc">(上传文件不超过1M)</span>   </td>
                    <?php endif;?>
                </td>
            </tr>
            <tr>
                <td colspan="3"><span class="f00">*</span>单位简况及其他关键信息描述：</td>
            </tr>
            <tr>
                <td colspan="3" align="center"><textarea name="c_introduce" cols="100" rows="7" class="texta576" id="textarea"><?php echo isset($session['c_introduce']) ? $session['c_introduce']: '';?></textarea></td>
            </tr>
        </table>
        <div id="but" class="cen paddingbotton80 paddingtop50">
            <span><?php echo CHtml::submitButton('',array('id'=>'topstep','style'=>'border: 0 none;font-size:0;','name'=>'setup','value'=>2)); ?></span>
            <span><?php echo CHtml::submitButton('',array('id'=>'tjsh','style'=>'border: 0 none;font-size:0;','name'=>'setup','value'=>4)); ?></span>
        </div>
        <div class="clear"></div>

            <?php $this->endWidget(); ?>
        </div><!-- form -->

    </div>
    <div class="clear"></div>
</div>
   <?php endif;?>
<div class="h8"></div>